package com.cool.bo.brandbo;


import com.cool.po.brand.BrandPo;
import lombok.Data;
import org.w3c.dom.stylesheets.LinkStyle;

import java.io.Serializable;
import java.util.List;

@Data
public class BrandBo implements Serializable {

    private static final long serialVersionUID = -1152271338399721925L;

    //每页显示的数量
    public static final Integer PAGE_SIZE = 5;

    //页码数(上一页,下一页,当前页)
    public Integer pageIndex;

    //Bo中存了Po
    public BrandPo brandPo;
    public BrandPo getBrandPo() {
        return brandPo;
    }

    //前端发送过来批量删除的数据
    public List<Integer> list;

    //用于模糊查询的字段
    public String inputString;
    public BrandBo setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
        return this;
    }

    public BrandBo setInputString(String inputString) {
        this.inputString = inputString;
        return this;
    }
}
